package cn.net.yugu.doraemon.netty.protocol.msg92;

import cn.net.yugu.doraemon.netty.protocol.MsgCode;
import io.netty.buffer.ByteBuf;

/**
 * 查询播放列表内容（请求）
 */
public class Msg921000012 extends Msg921 {

    public int  playlistId;

    @Override
    public int getMsgCode() {
        return MsgCode.MSG_921000012.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        playlistId = buffer.readInt();
    }

    @Override
    public void writeData(ByteBuf buffer) {
        buffer.writeInt(playlistId);
    }
}
